Issue with function execution on page load

visit shbcf.ru